package com.example.back.service;

import com.example.back.model.Boardgame;
import com.example.back.model.PsGame;

import java.util.List;

public interface PsGameService {
    List<PsGame> findAllPsGame();
    List<PsGame> findByInformation(String information);
    List<PsGame> findAllPsGameByScore();
    List<PsGame> searchPType(String type);
    List<PsGame> selectPName(String name);
    Boolean insertPsGame(String name, String introduction, String yuyan, String type, double score);
    Boolean updateYuyanByID(int id, String yuyan);
    Boolean updateScoreByID(int id, double score);
    Boolean deletePsGame(int id);
    String findPhotoByID(int id);
}
